package com.techb.forms;


import com.opensymphony.xwork2.ActionSupport;

import com.techb.model.SubmissionDAO;

public class StudentMarkSubmission extends ActionSupport{
	
	private String roll_no;
	private String []subj_id;
	private String []attendance;
	private String []ct_marks;
	private String []hall_mcq;
	private String []hall_cq;
	private String []hall_total;
	private String []hall_gtotal;
	
	public String execute()
	{

		     try
			  { 
			   SubmissionDAO submObj=new SubmissionDAO();
			   submObj.InsertMarksData(roll_no,subj_id,attendance,ct_marks,hall_mcq,hall_cq,hall_total,hall_gtotal);
			  }
			  catch(Exception ex)
			  {
			    ex.printStackTrace();
			  }
			  
		return null;
	}
	

	public String getRoll_no() {
		return roll_no;
	}
	public void setRoll_no(String rollNo) {
		roll_no = rollNo;
	}
	public String[] getSubj_id() {
		return subj_id;
	}
	public void setSubj_id(String[] subjId) {
		subj_id = subjId;
	}
	public String[] getAttendance() {
		return attendance;
	}
	public void setAttendance(String[] attendance) {
		this.attendance = attendance;
	}
	public String[] getCt_marks() {
		return ct_marks;
	}
	public void setCt_marks(String[] ctMarks) {
		ct_marks = ctMarks;
	}
	public String[] getHall_mcq() {
		return hall_mcq;
	}
	public void setHall_mcq(String[] hallMcq) {
		hall_mcq = hallMcq;
	}
	public String[] getHall_cq() {
		return hall_cq;
	}
	public void setHall_cq(String[] hallCq) {
		hall_cq = hallCq;
	}
	public String[] getHall_total() {
		return hall_total;
	}
	public void setHall_total(String[] hallTotal) {
		hall_total = hallTotal;
	}
	public String[] getHall_gtotal() {
		return hall_gtotal;
	}
	public void setHall_gtotal(String[] hallGtotal) {
		hall_gtotal = hallGtotal;
	}

	
	
	
	

}
